<?php


namespace app\admin\controller;


use app\common\controller\admin\Base;

class Jobconfig extends Base
{
    protected $noNeedLogin = [];

    protected $model;


    public function _initialize()
    {
        parent::_initialize();
        $this->model = new \app\admin\model\JobConfig();
    }

    /**
     * 禁止添加
     */
    public function add()
    {
        $this->error('添加失败！该模块不允许添加');
    }

    /**
     * 禁止删除
     */
    public function del($ids = "")
    {
//        parent::del($ids);
        $this->error('删除失败！该模块不允许删除');
    }

}